$themeColor: #A89A9A;
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:before, .clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.weui-cell {
  padding: 10px 16px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  color: #333;
}

.weui-cell__bd {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.weui-cell__ft {

}

.weui-cell:before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #ebedf0;
  color: #e5e5e5;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(.5);
  transform: scaleY(.5);
  left: 16px;
  z-index: 2;
}

.weui-cell:first-child::before {
  display: none;
}

.weui-cell_access .weui-cell__ft {
  padding-right: 13px;
  position: relative;
}

.weui-cell_access .weui-cell__ft:after {
  content: " ";
  display: inline-block;
  height: 6px;
  width: 6px;
  border-width: 2px 2px 0 0;
  border-color: #c8c8cd;
  border-style: solid;
  -webkit-transform: matrix(.71, .71, -.71, .71, 0, 0);
  transform: matrix(.71, .71, -.71, .71, 0, 0);
  position: relative;
  top: -2px;
  position: absolute;
  top: 50%;
  margin-top: -4px;
  right: 2px;
}

.weui-cell-input {
  input {
    width: 100%;
    display: block;
    border: none;
    text-align: right;
  }
}

.app-container {
  font-size: 14px;
}

.loginpage {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.loginlogo {
  margin-top: 15px;

  img {
    display: block;
    margin: 0 auto 60px;
    width: 60%;
  }
}

.login-inpcontent {
  padding: 0 25px;

  .login-inpgroup {
    position: relative;

    img {
      position: absolute;
      left: 15px;
      width: 20px;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      transform: translateY(-50%);
    }

    .van-icon {
      position: absolute;
      left: 15px;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      transform: translateY(-50%);
    }

    input {
      border: none;
      border-bottom: 1px solid #ebedf0;
      height: 45px;
      width: 100%;
      display: block;
      padding-left: 50px;
    }

    .logincheck {
      position: absolute;
      right: 0;
      top: 0;
      line-height: 45px;
      color: #A89A9A;
      padding-left: 15px;

      &:after {
        content: "";
        display: block;
        width: 1px;
        height: 45%;
        position: absolute;
        background-color: #ebedf0;
        left: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
      }
    }
  }
}

.login-lastline {
  line-height: 45px;
  color: #333;
  padding: 0 15px;

  span {
    display: inline-block;
  }

  .login-lastcheck {
    border: 1px solid $themeColor;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
    vertical-align: middle;
    margin-top: -1.5px;

    &.active {
      img {
        display: block
      }
    }
  }

  .loginagree {
    color: $themeColor;
  }

  img {
    width: 20px;
    vertical-align: middle;
    position: relative;
    top: -1.5px;
    display: none;
  }
}

.resetmodalradius {
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
}

.login-btnwrap {
  margin-top: 50px;

  .login-btn {
    display: block;
    margin: 0 auto;
    width: 50%;
    height: 40px;
    background-color: #A4ABD1;
    color: #fff;
    font-size: 15px;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
}

.default-progress {
  position: relative;
  color: #666;
  text-align: center;
  padding: 30px 0 20px;
  border-bottom: 1px solid #eee;

  .default-step {
    position: relative;
    width: 33.333%;
    float: left;

    .default-stepcircle {
      position: absolute;
      top: -2px;
      left: 50%;
      width: 5px;
      height: 5px;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      border: 1px solid #ccc;
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      transform: translateX(-50%);
      z-index: 6;
    }

    .default-stepline {
      height: 1px;
      background-color: #ccc;
      width: 100%;
      position: absolute;
      top: 0;
      z-index: 5;
    }

    .default-stepwords {
      padding-top: 10px;
    }
  }

  .default-stepfirst {
    .default-stepline {
      width: 50%;
      right: 0;
    }
  }

  .default-steplast {
    .default-stepline {
      width: 50%;
      left: 0;
    }
  }

  .default-stepactive {
    .default-stepcircle {
      background-color: #214364;
      width: 10px;
      height: 10px;
      top: -5px;
      border: 2px solid #8ED0F9;
    }
  }
}

.sign-progress {
  .default-step {
    width: 25%;
  }
}

.legal-inpcontent .van-uploader__upload {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  box-sizing: border-box;
  width: 80px;
  height: 80px;
  margin: 0;
  background-color: #f7f8fa;
  border-radius: 8px;
  border: none;
}

.default-btnwrap {
  margin-top: 25px;
  text-align: center;

  button {
    display: inline-block;
    width: 60%;
    height: 40px;
    background-color: #214364;
    color: #fff;
    border: none;
    border-radius: 5px;
  }
}

.default-success {
  text-align: center;
  margin-top: 80px;

  .default-success-words {
    color: #9EA5CE;
    font-size: 16px;
    margin: 15px 0;
  }

  .default-success-tips {
    font-size: 13px;
  }

  img {
    width: 75px;
  }
}

.confirmation-main {
  .weui-cell__hd {
    width: 100px;
    color: #333;
  }

  .weui-cell__bd {
    color: $themeColor;
  }
}


.sign-currentpage {
  .sign-currentpage-tl {
    font-size: 15px;
    color: #333;
    text-align: center;
    padding: 15px 0;
  }

  .sign-currentpage-bd {
    color: #555;
    font-size: 14px;
    padding: 0 15px 70px;
  }
}

.sign-currentpage-ft {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 10px 15px;
  text-align: right;
  background-color: #fff;
  width: 100%;

  .sgin-currentbtn {
    background-color: #1890FF;
    color: #fff;
    border: none;
    height: 40px;
    padding: 0 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }
}

.sign-popup {
  padding-top: 15px;

  .weui-cell {
  }

  .weui-cell__hd {
    width: 110px;
    text-align: right;
    line-height: 30px;
    margin-right: 10px;
  }

  .weui-cell__bd {
    position: relative;

    input {
      display: block;
      width: 100%;
      height: 30px;
      padding-left: 10px;
      border: 1px solid #ccc;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
    }

    button {
      position: absolute;
      right: 0;
      top: 0;
      height: 30px;
      border: none;
      background-color: $themeColor;
      color: #fff;
      padding: 0 10px;
    }
  }
}

.sign-success {
  background-color: #63A3E3;
  color: #fff;
  text-align: center;
  padding: 20px 0;

  img {
    width: 40%;
    display: block;
    margin: 0 auto 10px;
  }
}

.checkfaceresultfix,.checkfacefix{
  position: fixed;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.checkfaceresult {
  text-align: center;

  img {
    display: block;
    margin: 0 auto;
    width: 80px;
  }

  .checkfaceresult-words {
    color: #9EA5CE;
    margin: 15px 0;
    font-size: 15px;
  }

  .checkfaceresult-tips {
    color: $themeColor;
  }
}
